package com.irdstudio.apicenter.gateway.comm;

import com.irdstudio.apicenter.gateway.core.dm.AppChannelForward;
import com.irdstudio.apicenter.gateway.web.MaccsTradeDefineVo;

/**
 * MACCS系统下渠道通讯客户端接口定义
 * @author guangming.li
 * @version 1.0
 * @date 2015-05-22
 */
public interface MaccsChannelClient {
	
	// 设置渠道定义信息,由MACCS渠道工厂初始化渠道通讯客户端时提供
	public void setChannelDefine(AppChannelForward acf);
	
	// 向通讯渠道发送信息并等待返回
	public MaccsPacket sendAndWait(MaccsTradeDefineVo tradeDefine,
			MaccsPacket inUvo);

}
